package me.spring.cloud.common.components.monitor.properties;

import me.spring.cloud.common.components.monitor.constant.Constant;
import java.io.Serializable;
import java.util.Collections;
import java.util.Set;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = Constant.cat_monitor_server_init_prefix)
public class CatProperties implements Serializable {

  private static final long serialVersionUID = -5241480241113282492L;
  /**
   * 服务器列表,格式为ip:httpPort:port,如127.0.0.1:8080:2080
   */

  private Set<String> servers = Collections.emptySet();

  /**
   * 是否开启,默认true
   */
  private boolean enable = false;
}

